<!DOCTYPE html>
<html lang="zh-CN"  xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>车辆监控</title>
    <link href="/css/bootstrap.css" rel="stylesheet">
    <link rel="stylesheet" href="/css/common.css">
    <link rel="stylesheet" href="/css/data_text.css">
    <link rel="stylesheet" href="/css/foundation-datepicker.css">

    <!--[if lt IE 9]>
    <script src="/js/html5shiv.min.js"></script>
    <script src="/js/respond.min.js"></script>
    <![endif]-->
    <style>
        #head li{
            width: 130px;
            font-size: 20px;
            font-weight: bold;
        }
        #head li img{
            width: 20px;
        }
        #head li:hover{
            background: rgba(168, 175, 189, 0.4);
        }
        #return{
            color: white;
            font-size: 20px;
            font-weight: bold;
        }
        #totaldata p{
            color: #e9e9e9;
            font-size: 15px;
            font-weight: bold;
        }
        #totaldata span{
            color: #e9e9e9;
            font-size: 25px;
            font-weight: bold;
        }
        #container table{
            margin-top: 2%;
            width: 100%;
        }
        #container table tr object{
            margin-top: 5%;
            margin-left: 5%;
            height: 265px;
            width: 90%;
            background-color: rgba(218, 218, 218, 0.42);
        }
        #mainCenter{
            width: 210px;
            height: 35px;
            line-height: 33px;
            background-color: #034c6a;
            border-radius: 18px;
            position: absolute;
            top: -17px;
            left:50%;
            margin-left: -90px;
            color:#fff;
            font-size: 18px;
            font-weight: 600;
            box-sizing: border-box;
            padding-left: 45px;
            z-index: 1000;
        }
        .left_2 table{
            margin-top: 5%;
            width: 100%;
            height: 600px;
        }
        .left_2 table tr:hover{
            background-color: rgba(232, 232, 232, 0.2);
        }
        .left_2 table thead tr{
            height: 42px;
        }
        .left_2 table th{
            font-size: 14px;
            font-weight: 600;
            color:#61d2f7;
            text-align: center;
        }
        .left_2 table th:nth-child(1){
            width: 20%;
        }
        .left_2 table th:nth-child(2){
            width: 20%;
        }
        .left_2 table th:nth-child(2){
            width: 20%;
        }
        .left_2 table th:nth-child(3){
            width: 20%;
        }
        .left_2 table th:nth-child(4){
            width: 20%;
        }
        .left_2 table td{
            color:#fff;
            font-size: 12.8px;
            text-align: center;
        }
        .left_2 table tbody tr:nth-child(1),
        .left_2 table tbody tr:nth-child(3),
        .left_2 table tbody tr:nth-child(5),
        .left_2 table tbody tr:nth-child(7),
        .left_2 table tbody tr:nth-child(9){
            box-shadow: 0px 0 55px rgba(255,255,255,.1) inset;
        }

    </style>
</head>
<body>

<!--header开始-->
<div class="header">
    <div class="header_logo fl">
        <a href="#"><img src="/img/header_logo.png" alt=""></a>
    </div>
    <div class="header_nav fl">
        <ul id="head">
            <li >
                <img src="/img/nav_6.png" alt="" >
                <a href="/dt/seeroadCon" >&nbsp;道路概览</a>
            </li>
            <li>
                <img src="/img/nav_2.png" alt="">
                <a href="/dt/seemonitor" class="nav_current">&nbsp;车辆监控</a>
            </li>
            <li>
                <img src="/img/nav_7.png" alt="" >
                <a href="/dt/seequery">&nbsp;查询统计</a>
            </li>
            <li>
                <img src="/img/nav_1.png" alt="">
                <a href="/dt/seetraffic" >&nbsp;实时调控</a>
            </li>
            <!--                <li>-->
            <!--                    <img src="img/nav_3.png" alt="">-->
            <!--                    <a href="#">政府监管</a>-->
            <!--                </li>-->
            <!--                <li>-->
            <!--                    <img src="img/nav_4.png" alt="">-->
            <!--                    <a href="#">参数设置</a>-->
            <!--                </li>-->
            <!--                <li>-->
            <!--                    <img src="img/nav_5.png" alt="">-->
            <!--                    <a href="#">车载视频</a>-->
            <!--                </li>-->
            <!--<li>-->
            <!--<img src="img/nav_8.png" alt="">-->
            <!--<a href="#">行业应用</a>-->
            <!--</li>-->
            <li>
                <img src="/img/nav_6.png" alt="">
                <a href="/dt/seephysical" >&nbsp;实物模拟</a>
            </li>
            <li>
                <img src="/img/nav_9.png" alt="">
                <a href="#">&nbsp;系统设置</a>
                <ul>
                    <li><a href="#">设备管理1</a></li>
                    <li><a href="#">设备管理2</a></li>
                    <li><a href="#">设备管理3</a></li>
                    <li><a href="#">设备管理4</a></li>
                </ul>
                <!--                    <ul>-->
                <!--&lt;!&ndash;                        <li>&ndash;&gt;-->
                <!--&lt;!&ndash;                            <a href="#">平台管理</a>&ndash;&gt;-->
                <!--&lt;!&ndash;                            <ul>&ndash;&gt;-->
                <!--&lt;!&ndash;                                <li><a href="#">平台管理1</a></li>&ndash;&gt;-->
                <!--&lt;!&ndash;                                <li><a href="#">平台管理2</a></li>&ndash;&gt;-->
                <!--&lt;!&ndash;                                <li><a href="#">平台管理3</a></li>&ndash;&gt;-->
                <!--&lt;!&ndash;                                <li><a href="#">平台管理4</a></li>&ndash;&gt;-->
                <!--&lt;!&ndash;                            </ul>&ndash;&gt;-->
                <!--&lt;!&ndash;                        </li>&ndash;&gt;-->
                <!--                        <li>-->
                <!--                            <a href="#">设备管理</a>-->
                <!--                            -->
                <!--                        </li>-->
                <!--&lt;!&ndash;                        <li><a href="#">系统设置</a></li>&ndash;&gt;-->
                <!--                    </ul>-->
            </li>
        </ul>
    </div>

    <div class="header_myself fr" >
        <p></p>
        <a href="#" data-toggle="modal" data-target=".bs-example-modal-sm" id="return">注销 &nbsp;<span class="caret"></span></a>
    </div>

</div>
<!--header结束-->
<!--content开始-->
<div class="data_content">
    <!--        <div class="data_time">-->
    <!--            <img src="/img/data_time.png" alt="" class="fl">-->
    <!--            <input type="text" value="" id="demo-1" style="background: #04425f;width: 80px;" placeholder="选择日期">-->
    <!--        </div>-->
    <div style="background-color:rgba(255,255,255,0.09);">
        <div style="color: #e9e9e9;font-weight: bold;font-size: 20px;">
             <span>
                   <script type="text/javascript">
                     var date = new Date();
                     document.write(date.getFullYear() + "/" + (date.getMonth() + 1) + "/" + date.getDate()
                         + "/" + " 星期" + "日一二三四五六".charAt(date.getDay())+
                         "  ------近一小时内车流数据概览");
                   </script>
             </span>
        </div>
        <div id="totaldata" class="data_info">
            <div class="info_1 fl">
                <div class="text_1">
                    <div class="fl" style="width: 100%;">
                        <img src="/img/info_1.png" alt="" class="fl">
                        <div class="fl" >
                            <p>车流总数(辆)</p>
                            <span>1341</span>
                        </div>
                    </div>
                    <!--                    <div class="fl">-->
                    <!--                        <img src="/img/info_2.png" alt="" class="fl">-->
                    <!--                        <div class="fl">-->
                    <!--                            <p>车辆使用数(辆)</p>-->
                    <!--                            <p>15802</p>-->
                    <!--                        </div>-->
                    <!--                    </div>-->
                    <!--                    <div class="fl">-->
                    <!--                        <img src="/img/info_3.png" alt="" class="fl">-->
                    <!--                        <div class="fl">-->
                    <!--                            <p>车辆行驶数(辆)</p>-->
                    <!--                            <p>15802</p>-->
                    <!--                        </div>-->
                    <!--                    </div>-->
                </div>

            </div>
            <div class="info_2 fl">
                <div class="text_2">
                    <div class="fl">
                        <img src="/img/info_4.png" alt="" class="fl">
                        <div class="fl">
                            <p>车流总数(辆)-东</p>
                            <span>237</span>
                        </div>
                    </div>
                    <div class="fl">
                        <img src="/img/info_5.png" alt="" class="fl">
                        <div class="fl">
                            <p>车流总数(辆)-西</p>
                            <span>361</span>
                        </div>
                    </div>
                </div>

            </div>
            <div class="info_3 fr">
                <div class="text_3">
                    <!--                        <div class="fl">-->
                    <!--                            <img src="/img/info_6.png" alt="" class="fl">-->
                    <!--                            <div class="fl">-->
                    <!--                                <p>行驶时长总数(h)</p>-->
                    <!--                                <span>15802</span>-->
                    <!--                            </div>-->
                    <!--                        </div>-->
                    <!--                        <div class="fl">-->
                    <!--                            <img src="/img/info_7.png" alt="" class="fl">-->
                    <!--                            <div class="fl">-->
                    <!--                                <p>行驶时长平均数(h)</p>-->
                    <!--                                <span>15802</span>-->
                    <!--                            </div>-->
                    <!--                        </div>-->
                    <div class="fl">
                        <img src="/img/info_6.png" alt="" class="fl">
                        <div class="fl">
                            <p>车流总数(辆)-南</p>
                            <span>124</span>
                        </div>
                    </div>
                    <div class="fl">
                        <img src="/img/info_7.png" alt="" class="fl">
                        <div class="fl">
                            <p>车流总数(辆)-北</p>
                            <span>108</span>
                        </div>
                    </div>
                </div>

            </div>
        </div>
    </div>

    <div class="data_main">
        <div class="main_center fl">
            <div class="center_text">
                <div class="main_title">
                    <img src="/img/title_3.png" alt="">
                    道路实时监控
                </div>
<!--                                    <div id="chart_map" style="width:100%;height:610px;"></div>-->
                <div id="container" style="width:915px; height:615px">
                    <table>
                        <tr>
                            <td><object></object></td>
                            <td><object></object></td>
                        </tr>
                        <tr>
                            <td><object></object></td>
                            <td><object></object></td>
                        </tr>
                    </table>
                </div>

            </div>
        </div>
        <div class="main_left fl">
            <div class="left_2" style="height: 610px; width: 95%;">
                <div id="mainCenter" style="width: 250px; margin-left:-27%;">
                    <img src="/img/title_2.png" alt="">
                    单向路口经停记录
                </div>
                <div style="height: 600px;overflow-y: auto;">
                    <table>
                        <thead>
                        <tr>
                            <th>车牌号</th>
                            <th>方向</th>
                            <th>车速</th>
                            <th>经停时长</th>
                            <th>是否违规</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr th:each="cp:${cplist}">
                            <td th:text="${cp}">川EJK415</td>
                            <td >南北</td>
                            <td >30KM/H</td>
                            <td >30S</td>
                            <td >否</th>
                        </tr>
                        <tr>
                            <td >川EJK415</td>
                            <td >南北</td>
                            <td >30KM/H</td>
                            <td >30S</td>
                            <td >否</th>
                        </tr>
                        <tr>
                            <td >川EJK415</td>
                            <td >南北</td>
                            <td >30KM/H</td>
                            <td >30S</td>
                            <td >否</th>
                        </tr>
                        <tr>
                            <td >川EJK415</td>
                            <td >南北</td>
                            <td >30KM/H</td>
                            <td >30S</td>
                            <td >否</th>
                        </tr>
                        <tr>
                            <td >川EJK415</td>
                            <td >南北</td>
                            <td >30KM/H</td>
                            <td >30S</td>
                            <td >否</th>
                        </tr>
                        <tr>
                            <td >川EJK415</td>
                            <td >南北</td>
                            <td >30KM/H</td>
                            <td >30S</td>
                            <td >否</th>
                        </tr>
                        <tr>
                            <td >川EJK415</td>
                            <td >南北</td>
                            <td >30KM/H</td>
                            <td >30S</td>
                            <td >否</th>
                        </tr>
                        <tr>
                            <td >川EJK415</td>
                            <td >南北</td>
                            <td >30KM/H</td>
                            <td >30S</td>
                            <td >否</th>
                        </tr>
                        <tr>
                            <td >川EJK415</td>
                            <td >南北</td>
                            <td >30KM/H</td>
                            <td >30S</td>
                            <td >否</th>
                        </tr>
                        <tr>
                            <td >川EJK415</td>
                            <td >南北</td>
                            <td >30KM/H</td>
                            <td >30S</td>
                            <td >否</th>
                        </tr>
                        <tr>
                            <td >川EJK415</td>
                            <td >南北</td>
                            <td >30KM/H</td>
                            <td >30S</td>
                            <td >否</th>
                        </tr>
                        <tr>
                            <td >川EJK415</td>
                            <td >南北</td>
                            <td >30KM/H</td>
                            <td >30S</td>
                            <td >否</th>
                        </tr>
                        <tr>
                            <td >川EJK415</td>
                            <td >南北</td>
                            <td >30KM/H</td>
                            <td >30S</td>
                            <td >否</th>
                        </tr>
<!--                        <tr>-->
<!--                            <td >川EJK415</td>-->
<!--                            <td >南北</td>-->
<!--                            <td >30KM/H</td>-->
<!--                            <td >30S</td>-->
<!--                            <td >否</th>-->
<!--                        </tr>-->
<!--                        <tr>-->
<!--                            <td >川EJK415</td>-->
<!--                            <td >南北</td>-->
<!--                            <td >30KM/H</td>-->
<!--                            <td >30S</td>-->
<!--                            <td >否</th>-->
<!--                        </tr>-->
                        </tbody>
                    </table>
                </div>
            </div>

        </div>
        <div class="main_right fr">
            <div class="left_1">
                <div class="main_title">
                    <img src="/img/title_1.png" alt="">
                    车辆类型统计
                </div>
                <div id="chart_1" class="chart" style="width:100%;height: 280px;"></div>
            </div>
            <div class="left_2">
                <div class="main_title">
                    <img src="/img/title_2.png" alt="">
                    车辆状态统计
                </div>
                <div id="chart_2" class="chart" style="width:100%;height: 280px;"></div>
            </div>
        </div>
    </div>
</div>


</div>
<!--content结束-->
<!--注销模态框  开始-->
<div class="modal fade bs-example-modal-sm" id="myModal" tabindex="-1" role="dialog">
    <div class="modal-dialog modal-sm" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title">注销</h4>
            </div>
            <div class="modal-body">
                <p>确认退出该系统吗？</p>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                <button type="button" class="btn btn-primary">确认</button>
            </div>
        </div>
    </div>
</div>
<!--注销模态框  结束-->


</body>
<script src="/js/jquery-2.2.1.min.js"></script>
<script src="/js/bootstrap.min.js"></script>
<script src="/js/common.js"></script>
<script src="/js/echarts.min.js"></script>
<script src="/js/echart.js"></script>
<script src="/js/china.js"></script>
<script src="/js/foundation-datepicker.js"></script>
<script src="/js/foundation-datepicker.zh-CN.js"></script>
<script>
    $('#demo-1').fdatepicker();

    var nowTemp = new Date();
    var now = new Date(nowTemp.getFullYear(), nowTemp.getMonth(), nowTemp.getDate(), 0, 0, 0, 0);
    var checkin = $('#dpd1').fdatepicker({
        onRender: function (date) {
            return date.valueOf() < now.valueOf() ? 'disabled' : '';
        }
    }).on('changeDate', function (ev) {
        if (ev.date.valueOf() > checkout.date.valueOf()) {
            var newDate = new Date(ev.date)
            newDate.setDate(newDate.getDate() + 1);
            checkout.update(newDate);
        }
        checkin.hide();
        $('#dpd2')[0].focus();
    }).data('datepicker');
    var checkout = $('#dpd2').fdatepicker({
        onRender: function (date) {
            return date.valueOf() <= checkin.date.valueOf() ? 'disabled' : '';
        }
    }).on('changeDate', function (ev) {
        checkout.hide();
    }).data('datepicker');
</script>
</html>
